From 08613dce92d1b0badd118c837da5013f6995e69a Mon Sep 17 00:00:00 2001 From: Lapo Calamandrei Date: Thu, 3 Mar 2016 16:12:20 +0100 Subject: [PATCH] Adwaita: uniform paddings on image-buttons fixes https://bugzilla.gnome.org/show_bug.cgi?id=762811 --- gtk/theme/Adwaita/_common.scss | 6 +++--- gtk/theme/Adwaita/gtk-contained-dark.css | 6 +++--- gtk/theme/Adwaita/gtk-contained.css | 6 +++--- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/gtk/theme/Adwaita/_common.scss b/gtk/theme/Adwaita/_common.scss index 7b77af3ff4..e96d83c802 100644 --- a/gtk/theme/Adwaita/_common.scss +++ b/gtk/theme/Adwaita/_common.scss @@ -446,9 +446,9 @@ button { } &.image-button { - min-width: 32px; - padding-left: 0; - padding-right: 0; + min-width: 24px; + padding-left: 4px; + padding-right: 4px; } &.text-button { diff --git a/gtk/theme/Adwaita/gtk-contained-dark.css b/gtk/theme/Adwaita/gtk-contained-dark.css index 1875a4d3d6..fa58a1484e 100644 --- a/gtk/theme/Adwaita/gtk-contained-dark.css +++ b/gtk/theme/Adwaita/gtk-contained-dark.css @@ -480,9 +480,9 @@ notebook > header > tabs > arrow, headerbar button.titlebutton, box-shadow: inset 0 1px rgba(255, 255, 255, 0); } notebook > header > tabs > arrow.image-button, headerbar button.image-button.titlebutton, .titlebar button.image-button.titlebutton, button.image-button { - min-width: 32px; - padding-left: 0; - padding-right: 0; } + min-width: 24px; + padding-left: 4px; + padding-right: 4px; } notebook > header > tabs > arrow.text-button, headerbar button.text-button.titlebutton, .titlebar button.text-button.titlebutton, button.text-button { padding-left: 16px; diff --git a/gtk/theme/Adwaita/gtk-contained.css b/gtk/theme/Adwaita/gtk-contained.css index e6b255874f..664f1bf7df 100644 --- a/gtk/theme/Adwaita/gtk-contained.css +++ b/gtk/theme/Adwaita/gtk-contained.css @@ -480,9 +480,9 @@ notebook > header > tabs > arrow, headerbar button.titlebutton, box-shadow: inset 0 1px rgba(255, 255, 255, 0); } notebook > header > tabs > arrow.image-button, headerbar button.image-button.titlebutton, .titlebar button.image-button.titlebutton, button.image-button { - min-width: 32px; - padding-left: 0; - padding-right: 0; } + min-width: 24px; + padding-left: 4px; + padding-right: 4px; } notebook > header > tabs > arrow.text-button, headerbar button.text-button.titlebutton, .titlebar button.text-button.titlebutton, button.text-button { padding-left: 16px; -- 2.30.2